package org.jeecgframework.web.system.pojo.base;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;

/**
 * 系统参数表
 *
 * @author 陆森
 */
@Entity
@Table(name = "t_s_settings")
@DynamicUpdate(true)
@DynamicInsert(true)
public class TSSettings implements java.io.Serializable {
    private static final long serialVersionUID = 1L;

    private String settingName;
    private String settingValue;
    private String description;

    @Id
    @Column(name = "setting_name", length = 100)
    public String getSettingName() {
        return settingName;
    }

    public void setSettingName(String settingName) {
        this.settingName = settingName;
    }

    @Column(name = "setting_value", length = 200)
    public String getSettingValue() {
        return settingValue;
    }

    public void setSettingValue(String settingValue) {
        this.settingValue = settingValue;
    }

    @Column(name = "description", length = 500)
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}